﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserEdit.aspx.cs" Inherits="MedicWeb.forms.Editors.UserEdit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<head>
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        #form1
        {
            text-align: center;
        }
    </style>
</head>

<body>
    <form id="form1" runat="server">
    <div>
        
        <table>
            <tr>
                <td align="right">
                    Логин</td>
                <td>
                    <asp:TextBox ID="tfLogin" runat="server" Width="100%"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right">
                    Роль</td>
                <td>
                    <asp:DropDownList ID="comboRole" runat="server" Width="100%">
                        <asp:ListItem>admin</asp:ListItem>
                        <asp:ListItem>user</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td align="right">
                    Пароль</td>
                <td>
                    <asp:TextBox ID="pfPassword" runat="server" ClientIDMode="Static" 
                        TextMode="Password" Width="100%"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right">
                    Повторите пароль</td>
                <td>
                    <asp:TextBox ID="pfPasswordConfirm" runat="server" ClientIDMode="Static" 
                        TextMode="Password" Width="100%"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="center" colspan="2">
                    <asp:Label ID="lblPassword" runat="server" ClientIDMode="Static" 
                        ForeColor="Red"></asp:Label>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:Button ID="btnSave" runat="server" onclick="btnSave_Click" 
                        Text="Сохранить" style="text-align: center" />
                    <asp:Button ID="btnCancel" runat="server" Text="Отмена" 
                        style="text-align: center" />
                </td>
            </tr>
        </table>
        
    </div>
    </form>
</body>
